Transcranial magnetic stimulation (TMS) for stroke and spinal cord injury